import React from 'react'
import SearchNavTabsLayout from '../_Layout/SearchNavTabsLayout'
import SearchTag from '../../widgets/Tag/SearchTag'
import RouterView from '../../widgets/RouterView'

export default function Search(props: any) {
    return (
        <SearchNavTabsLayout type={props.params.type} searchValue={decodeURI(props.params.searchValue)}>
            <SearchTag searchValue={decodeURI(props.params.searchValue)} />
            <RouterView path={'/search'} />
        </SearchNavTabsLayout>
    )
}
